const fetch= require('cross-fetch');

async function getIp(){
    const response=await fetch.fetch("http://api.aikatsucn.cn/ip/json");
    const result=await response.json();
    return result;
}

module.exports={getIp};